Skip to content

ReactiveTableViewSource.GetViewForHeader(UITableView, nint) method

Defined in

Type: ReactiveTableViewSource Namespace: ReactiveUI.Reactive Assembly: ReactiveUI.Reactive.dll

Applies to

net10.0-ios26.0, net10.0-maccatalyst26.0, net10.0-tvos26.0

public override UIView GetViewForHeader(UITableView tableView, nint section)

View source

Inherited documentation

These docs were inherited from UITableViewSource. The member doesn't override them on this type.

Summary: Returns a view object to display at the start of the given section.

Parameters

NameTypeDescription
tableViewUITableViewTable view containing the section.
sectionnintSection index where the header will be added.

Returns: UIView -- A view to be displayed at the start of the given section.

Remarks

        UIKit treats a null header view as "no custom header", but the binding declares the return
        non-nullable, so the null is asserted here rather than fabricating an empty view.